.ce-code {
  min-height: 250px;
  padding: 4px 0;

  .ce-code-wrapper {
    border: 1px solid var(--td-border-level-1-color);
    border-radius: var(--td-radius-default);
    background-color: var(--td-bg-color-container) !important;
  }

  &.ce-code-fullscreen-active {
    position: fixed !important;
    top: 0;
    left: 50px;
    width: calc(100vw - 50px);
    height: 100vh;
    margin: 0;
    border: none;
    z-index: 100;
  }

  .ce-code-header {
    border-bottom: 1px solid var(--td-border-level-1-color);
    padding-left: 16px;

    .ce-code-filename {
      cursor: pointer;
      &:empty {
        color: var(--td-text-color-placeholder);
      }
    }
  }
  .ce-code-resize-handle {
    width: 100%;
    height: 5px;
    cursor: ns-resize;
    position: absolute;
    bottom: 0;
    left: 0;
    background: transparent;
    transition: background-color 0.1s ease-in-out;
    text-align: center;
    line-height: 5px;
    z-index: 98;

    &:hover {
      background-color: rgba(0, 0, 0, 0.1) !important;
    }
  }
}
